package com.learn.springcloud.eurekahaprovider.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Time : 2018/7/20 17:59
 * @Version : 1.0
 * @Author : hongyan.li@hand-china.com
 * Copyright @ 2000 Shanghai Hand Co. Ltd.
 * All right reserved.
 */
@RestController
public class HelloController {

    @GetMapping("/hello/service")
    public String helloService(){
        System.out.println("调用服务提供者");
        return "hello";
    }

}
